/*
 * UIComponentConstants.java
 *
 * Created on 17 de Maio de 2009, 17:21
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package necticadastro;

import java.awt.Component;
import java.util.ArrayList;

/**
 *
 * @author Netto
 */
public class UIComponentConstants {
    
    private static UIComponentConstants SingletonInstance = null;
    
    public final int ED_NOME          = 0;
    public final int ED_ENDERECO      = 1;
    public final int ED_COLETA        = 2;
    public final int ED_ENTREGA       = 3;
    public final int ED_TELEFONE      = 4;
    public final int ED_IDADE         = 5;
    public final int ED_DOCUMENTO     = 6;
    public final int ED_CONTROLE      = 7;
    public final int ED_TOTAL         = 8;
    public final int ED_PAGO          = 9;
    public final int ED_SALDO         = 10;
    public final int CB_CONVENIO      = 11;
    public final int CB_SOLICITACAO   = 12;
    public final int CB_SEXO          = 13;
    public final int CB_TP_DOCUMENTO  = 14;
    public final int CB_EXAMES        = 15;
    public final int LST_EXAMES       = 16;
    
    public static UIComponentConstants getInstance() {
        if (SingletonInstance == null)
            SingletonInstance = new UIComponentConstants();
        return SingletonInstance;
    }
    
    /** Creates a new instance of UIComponentConstants */
    private UIComponentConstants() {
        // Fazer uma conexao com o banco e carregar a lista de constantes do Formulario principal
        // na tabela UIComponentConstants
        // atribui os valores do Banco a BDListaComponents
    }
    
}
